﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MedicalCare.EntityDefinitions.Entities;

namespace MedicalCare.EntityMappings.EntityMaps
{
    public class StandardValueMapping : ClassMap<StandardValueEntity>
    {
        public StandardValueMapping()
        {
            Table("Equipment_Standard_Value");
            Id(x => x.Id).Column("Id").Not.Nullable();
            Map(x => x.EquipmentTypeId).Column("EquipmentTypeId");
            Map(x => x.ItemName).Column("ItemName");
            Map(x => x.Value).Column("Value");
            Map(x => x.Unit).Column("Unit");
        }
    }
}